/**
  ETFRoot project, Anyang Normal University && IMP-CAS
  \class ETFTrackTa
  \brief class for a target-zone track, specifically the track downstream of the
  reaction target
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2021-11-08
  \date 2021-11-08 last modified
  \attention
  changelog
  <table>
  <tr>  <th>Date         <th>Author      <th>Description                   </tr>
  <tr>  <td>2021-11-08   <td>Asia Sun    <td>file created                  </tr>
  </table>

  \copyright Copyright (c) 2021 Anyang Normal U. && IMP-CAS with LGPLv3 LICENSE
*/

#ifndef ETFTrackTa_h
#define ETFTrackTa_h

#include "ETFVTrack.h"

class ETFDCHit;

class ETFTrackTa : public ETFVTrack{
public:
  ETFTrackTa();
  ETFTrackTa(const ETFTrackTa &t); ///< copy ctor
  ETFTrackTa &operator=(const ETFTrackTa &t); ///< assignment ctor
  virtual ~ETFTrackTa();

  virtual int EnoughHit(); ///< specify the criteria that how many hits qualify a good track
  using ETFVTrack::ConstructGraph;
  static int EnoughHit(const map<int, ETFDCHit *> &hits); ///< a static version
  virtual void SetId(int id, short type); ///< number the track, set the name&title for the track

  ClassDef(ETFTrackTa, 1);
};

#endif
